<?php
// numDisplaySets="100"
include_once("config.php");

$operation = $_GET['operation'];
$title = strtoupper($operation);

echo "<chart caption='' subCaption='' drawAnchors='0' yAxisMaxValue='100' dataStreamURL='../chart/sysadmin_action.php?operation=".$operation."' refreshInterval='".$refreshInterval."' numberPrefix='' setAdaptiveYMin='1' xAxisName='' showRealTimeValue='1' labelDisplay='WRAP' showLabels='0' slantLabels='1' bgColor='406181, 6DA5DB' bgAlpha='100' baseFontColor='FFFFFF' canvasBgAlpha='0' canvasBorderColor='FFFFFF' divLineColor='FFFFFF' divLineAlpha='100' numVDivlines='10' vDivLineisDashed='1' showAlternateVGridColor='1' lineColor='BBDA00' anchorRadius='4' anchorBgColor='BBDA00' anchorBorderColor='FFFFFF' anchorBorderThickness='2' showValues='0' numberSuffix='%' toolTipBgColor='406181' toolTipBorderColor='406181' alternateHGridAlpha='5' canvaspadding='10'>";

echo <<<EOT

	<categories>
	</categories>
	
	<dataset>
	</dataset>
	
	<!--
	<dataset seriesName='Busiest' showValues='0' color='0081bd'>
	</dataset>
	<dataset seriesName='Average Usage' showValues='0' color='0011bd'>
	</dataset>
	<dataset seriesName='Least Busy' showValues='0'>
	</dataset>
	-->
	<styles>
		<definition>
			<style name="LineShadow" type="shadow" color="333333" distance="6"/>
		</definition>
		<application>
			<apply toObject="DATAPLOT" styles="LineShadow"/>
		</application>
	</styles>
</chart>

EOT;

?>